package com.nuanshui.heatedloan.dao.userinfo;

import java.util.List;
import java.util.Map;

import com.nuanshui.heatedloan.userinfo.model.UserInfo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;




public interface UserInfoDaoCustom {
	Map selectCount();
	Page<UserInfo> selectRegistedUsers(final Pageable page);
	Page<UserInfo> selectBoundPhoneUsers(final Pageable page);
	Page<UserInfo> selectRecommendUsers(final Pageable page);
	void deleteRolesById(Long userId);
	void insertRoles(Long userId, Integer roleId);
	List<String> findPermissionsByRoleId(Long id);
	void deleteUserById(Long id);
}
